package com.vegetable.modules.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 商品分类查询条件
 * </p>
 *
 * @author wangruijie
 * @since 2024-12-10
 */
@Data
@ApiModel(value = "ProductCategoryQuery", description = "商品分类查询条件")
public class ProductCategoryQuery implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("分类名称（模糊查询）")
    private String categoryName;

    @ApiModelProperty("分类编码")
    private String categoryCode;

    @ApiModelProperty("父分类ID")
    private Long parentId;

    @ApiModelProperty("分类层级")
    private Integer level;

    @ApiModelProperty("是否启用：0否1是")
    private Integer isEnabled;

    @ApiModelProperty("页码")
    private Integer page = 1;

    @ApiModelProperty("每页数量")
    private Integer limit = 10;
}